FROM java:8-jre
ADD app.jar /app.jar

ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar", "/app.jar","--eureka.client.service-url.defaultZone=${ZONE:-http://localhost:8761/erueka}","--eureka.instance.hostname=${HOSTNAME:-localhost}"]
EXPOSE 80
EXPOSE 11018